package com.cc.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.common.utils.PageUtils;
import com.cc.user.entity.DemandnoteEntity;
import com.cc.user.vo.DemandVo;
import com.cc.user.vo.DueVo;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 11:30:58
 */
public interface DemandnoteService extends IService<DemandnoteEntity> {

    List<DemandnoteEntity> getAllDemandnote(Long id);

    Long toJK(Long ooid, String phone, String receiveMoney, List<String> pics);

    List<DueVo> getAllYJKById(Long id);

    Page<DemandVo> getAllDemand(Map<String, Object> params) throws ParseException;

    void shenhe(Long id, Long ooid,Integer type);

    DueVo getYJKXQ(Long id);
}

